package bean;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer userid;
	private String username;
	private String password;
	private String sex;
	private String isAdmin;

	private Integer userid_begin;
	private Integer userid_end;
	
	
	
	
	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Integer userid) {
		this.userid = userid;
	}

	/** full constructor */
	public User(Integer userid, String username, String password, String sex,
			String isAdmin) {
		this.userid = userid;
		this.username = username;
		this.password = password;
		this.sex = sex;
		this.isAdmin = isAdmin;
	}
	

	// 这个构造方法用于查询部分字段时，构造一个User对象使用的
	public User(Integer userid, String username, String password) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = password;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getIsAdmin() {
		return this.isAdmin;
	}

	public void setIsAdmin(String isAdmin) {
		this.isAdmin = isAdmin;
	}

	public Integer getUserid_begin() {
		return userid_begin;
	}

	public void setUserid_begin(Integer userid_begin) {
		this.userid_begin = userid_begin;
	}

	public Integer getUserid_end() {
		return userid_end;
	}

	public void setUserid_end(Integer userid_end) {
		this.userid_end = userid_end;
	}


	
	
	
	

}